package com.lzh.lzhblog.amqp;

import com.lzh.lzhframework.dao.UserMapper;
import com.lzh.lzhframework.domain.dto.feedback.UpdateFeedbackReadStatusDto;
import com.lzh.lzhframework.domain.entity.User;
import com.lzh.lzhframework.domain.entity.mongo.AdminReplyEntity;
import com.lzh.lzhframework.domain.entity.mongo.UserFeedbackEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.ExchangeTypes;
import org.springframework.amqp.rabbit.annotation.Exchange;
import org.springframework.amqp.rabbit.annotation.Queue;
import org.springframework.amqp.rabbit.annotation.QueueBinding;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * 博客用户消费者
 *
 * @author luzhiheng
 * @date 2023/11/6 17:49
 */
@Slf4j
@Component
@RabbitListener(queues = "testQueue10")
public class BlogUserConsumer {

    @Resource
    private MongoTemplate mongoTemplate;

    @Resource
    private UserMapper userMapper;



}
